package submarinebattle;

import javax.swing.*;
import java.util.Random;

/** 侦察潜艇 */
public class ObserveSubmarine extends SeaObject implements EnemyScore {

    public ObserveSubmarine(){
        super(63,19);
    }

    public void move(){
        setX(getX()+getSpeed());
    }

    public ImageIcon getImage(){
        return Images.obsersubm;
    }

    public int getScore(){
        return 10;
    }
}

